<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <script>
        // 1.参数问题
        // 1.1 放入两个参数
        const sum = (sum1,sum2) => {
            return sum1 + sum2;
        }
        // 1.2 放入一个参数
        const power = (num) => {
            return num * num;
        }
        const power1 = num => {
            return num * num;
        }

        // 2.大括号代码块中只有一行函数
        const mul = (num1, num2) => num1 * num2;
        console.log(mul(10,10));

        // 所以，render: h => h(App) 的原始写法就是下面这种样子：
        // render: (h) => {
        //     return h(App)
        // }
    </script>
</body>
</html>